home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960425-19960715 / 000017_news@columbia.edu _Sat Apr 27 13:08:43 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id NAA27888 for <kermit.misc@watsun>; Sat, 27 Apr 1996 13:08:43 -0400 (EDT)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.5/8.7.3) id NAA12920 for kermit.misc@watsun; Sat, 27 Apr 1996 13:08:41 -0400 (EDT)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Where does kermit get host addresses from?
  8. Date: 27 Apr 1996 17:08:19 GMT
  9. Organization: Columbia University
  10. Lines: 46
  11. Message-ID: <4ltka3$cjj@apakabar.cc.columbia.edu>
  12. References: <4lr8qf$b5a@titan.imsi.com>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <4lr8qf$b5a@titan.imsi.com>, Larry Martell <larrym@imsi.com> wrote:
  16. : I"m trying to use C-Kermit to connect to a site with set host. But when I
  17. : issue the command it says "Can't get address for ..." But outside of
  18. : kermit I can telnet to that same site with no problem.
  19. : Could it be that I'm connecting through a firewall? To telnet I use the
  20. : socks telnet. Is there a way to get kermit to know the address of the host
  21. : and for it to go through the firewall.
  22. As you discovered later, you are indeed trying to push through a firewall.
  23. There are various types of firewalls.  If yours is the type that can be
  24. negotiated with SOCKS, and your computer has a Socks library, you can
  25. rebuild to use the SOCKS library and then, provided the SOCKS
  26. configuration is set up appropriately on your host (as it must be, since
  27. Telnet works), you should now be able to make the same connections with
  28. C-Kermit as you make with Telnet.  Here is an excerpt from the forthcoming
  29. edition of the C-Kermit Configuration instructions document:
  30.  
  31. One firewall method is called SOCKS, in which a proxy server allows users
  32. inside a firewall to access the outside world, based on a permission list
  33. generally stored in a file.  SOCKS is enabled in one of two ways.  First, the
  34. standard sockets library is modified to handle the firewall, and then all the
  35. client applications are relinked (in systems where linking is not dynamic)
  36. with the modified sockets library.  The APIs are all the same, so the
  37. applications do not need to be recoded or recompiled.
  38.  
  39. In the other method, the applications must be modified to call replacement
  40. routines, such as Raccept() instead of accept(), Rbind() instead of bind(),
  41. etc, and then linked with a separate SOCKS library.  This second method is
  42. accomplished in C-Kermit by including -DCK_SOCKS in your CFLAGS, and also
  43. adding:
  44.  
  45.   -lsocks
  46.  
  47. to LIBS, or replacing -lsockets with -lsocks (depending on whether the socks
  48. library also includes all the sockets entry points).
  49.  
  50. Explicit firewall support can, in general, not be a standard feature or a
  51. feature that is selected at runtime, because the SOCKS library tends to be
  52. different at each site -- local modifications abound.
  53.  
  54. The ideal situation occurs when firewalls are supported by the first method,
  55. using dynamically linked sockets-replacement libraries; in this case, all your
  56. TCP/IP client applications will negotiate the firewall transparently.
  57.  
  58. - Frank